﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PictrueSimpleSyndication
{
    public partial class UserControlContentItemTitle : UserControl
    {
        public UserControlContentItemTitle()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 关键键
        /// </summary>
        public string Identification { get; set; }

        /// <summary>
        /// 数据提供接口
        /// </summary>
        public IDataContent DataContent { get; set; }

        public void SetContentItemInfo(ContentItemInfo iteminfo)
        {
            label_title.Text = iteminfo.Title;
            label_describe.Text = iteminfo.Describe;
        }
    }
}
